#! /usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = "Mosson"
from django.urls import path,re_path
from . import views
from rest_framework_jwt.views import obtain_jwt_token

urlpatterns = [
    # path(r'banner/', views.BannerListApiView.as_view()),
    path(r'login/', obtain_jwt_token),
    path(r'captcha/', views.CaptchaAPIView.as_view()),
    path(r'register/', views.UserAPIView.as_view()),
    re_path(r'mobile/(?P<mobile>1[3-9]\d{9})/', views.MobileAPIView.as_view()),
    re_path(r'sms/(?P<mobile>1[3-9]\d{9})/', views.SMSAPIView.as_view()),
    path(r'order/', views.UserOrderAPIView.as_view()),

]
